﻿Imports System.Data.OleDb
Public Class NewMembers


    Inherits System.Web.UI.Page

    Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load

        'Dim oleDbConn As New OleDb.OleDbConnection(ConfigurationManager.ConnectionStrings("ConnectionString").ConnectionString)
        'Dim SqlString As String = "select Picture, Name, Description from Profiles"
        'Dim cmd As OleDbCommand = New OleDbCommand(SqlString, oleDbConn)
        'cmd.CommandType = CommandType.Text
        ''cmd.Parameters.AddWithValue("@f1", Request.Params("PID"))
        'oleDbConn.Open()

        'Dim dr As OleDbDataReader = cmd.ExecuteReader()

        'If dr.HasRows Then
        '    dr.Read()
        '    If Not IsDBNull(dr("Picture")) Then Image1.ImageUrl = dr("Picture")
        '    If Not IsDBNull(dr("Description")) Then lblDescription.Text = dr("Description")

        'End If

    End Sub


End Class